import request from '@/utils/request'

// 查询因子算法操作符列表
export function listTbFactorOp(query) {
  return request({
    url: '/system/TbFactorOp/list',
    method: 'get',
    params: query
  })
}

// 查询因子算法操作符详细
export function getTbFactorOp(symbolCd) {
  return request({
    url: '/system/TbFactorOp/' + symbolCd,
    method: 'get'
  })
}

// 新增因子算法操作符
export function addTbFactorOp(data) {
  return request({
    url: '/system/TbFactorOp',
    method: 'post',
    data: data
  })
}

// 修改因子算法操作符
export function updateTbFactorOp(data) {
  return request({
    url: '/system/TbFactorOp',
    method: 'put',
    data: data
  })
}

// 删除因子算法操作符
export function delTbFactorOp(symbolCd) {
  return request({
    url: '/system/TbFactorOp/' + symbolCd,
    method: 'delete'
  })
}
